package org.bigdata.zc.mongo.repository;

import org.bigdata.zc.mongo.ScheduleWin;
import org.bigdata.zc.mongo.TeamWin;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * Created by Stephen on 2017/10/30.
 */
public interface ScheduleRepository extends MongoRepository<ScheduleWin, Long> {
    public List<ScheduleWin> findByHasBeenLoad(Boolean hasBeanLoad);
    public List<ScheduleWin> findByCupId(String cupId);
    public ScheduleWin findById(String id);
}
